<template>
  <div>
      <heads>
          <i @click="zhu()"></i>
          <span>我的优惠券</span>
      </heads>
      <mains>
          <div class="box">你还没有优惠券</div>
      </mains>


  </div>
</template>

<script>
import Head from './components/Head';
import Main from './components/Main';

export default {
    name:'Coupon',
    components:{
        'heads':Head,
        'mains':Main

    },methods:{
         zhu(){
            this.$router.replace('/login');
        }
    }

}
</script>

<style scoped>
.box{
    font-size: 3rem;
    line-height: 20rem;

}
</style>